public class Job3 {
    public static void main(String[] args) {
        int x;
        int y;
        int z;
        for (x = 1; x <= 95; x++) {
            for (y = 1; y <= 95; y++) {
                for (z = 1; z <= 95; z++) {
                    if (x * y + z == 94 && x + y * z == 95) {
                        System.out.println(x);
                        System.out.println(y);
                        System.out.println(z);
                    }
                }
            }

        }
    }
}

